import api from '../api';

const getListAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_SubjectMatch_GetSubjectMatch',
        data
    });
};

const addMatchAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_SubjectMatch_Add',
        data
    });
};

const getMatchListAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_SubjectMatch_GetSubjectMatchList',
        data
    });
};

const deleteMatchAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_SubjectMatch_Delete',
        data
    });
};






export default {
    getListAsync,
    addMatchAsync,
    getMatchListAsync,
    deleteMatchAsync
}